package com.znsd.stu.service.impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.znsd.entitys.Leave;
import com.znsd.stu.dao.Cwj_LeaveDao;
import com.znsd.stu.service.Cwj_LeaveService;
@Service
public class Cwj_LeaveServiceImpl implements Cwj_LeaveService{
	@Autowired
	private Cwj_LeaveDao ldao;
	
	@Override
	public List<Leave> getAll() {
		// TODO Auto-generated method stub
		return ldao.getAll();
	}

	@Override
	public void updateLeave(Integer lid, Integer state, Integer tid, Date dispose_time) {
		// TODO Auto-generated method stub
		ldao.updateLeave(lid, state, tid, dispose_time);
	}

}
